package com.xzit.day05.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("emp2")
//支持链式编程
@Accessors(chain = true)
public class Emp {
    private Integer id;
    private String empName;
    private String loginName;

    @TableField(select = false)
    private String loginPassword;

    private Integer age;
    private String gender;
    private String addr;
    private String deptName;
    private Integer status;
    private Integer deleted;
}
